package org.hpin.statistics.briefness.service;

import java.util.List ;

import org.hpin.common.core.orm.BaseService ;
import org.hpin.common.widget.pagination.Page ;
import org.hpin.statistics.briefness.dao.QueryDAO ;
import org.springframework.beans.factory.annotation.Autowired ;
import org.springframework.stereotype.Service ;
import org.springframework.transaction.annotation.Transactional ;


/**
 * <p>@desc : </p>
 * <p>@see : </p>
 *
 * <p>@author : 胡五音</p>
 * <p>@createDate : 2013-8-26 下午11:34:32</p>
 * <p>@version : v1.0 </p>
 * <p>All Rights Reserved By Acewill Infomation Technology(Beijing) Co.,Ltd</p> 
 */
@Service(value = "org.hpin.statistics.briefness.service.QueryService")
@Transactional()
public class QueryService extends BaseService {

	@Autowired()
	private QueryDAO queryDao = null ;
	
	public List findBySqlPage(Page page , String sql , Object[] values){
		return queryDao.findBySql(page , sql , values) ;
	}
	
	public List queryAllConfigSql(String sql) throws Exception{
		return queryDao.queryAllConfigSql(sql) ;
	}
	
}

